<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="java.io.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学生信息维护</title>
</head>
<body>
<%
	File fileName = new File("D:/Java/stuinfo.txt");
	FileReader fr = new FileReader(fileName);
	BufferedReader br = new BufferedReader(fr);
	String str = null;
	str = br.readLine();
%>
<%	request.setCharacterEncoding("utf-8");  %>
<p align="center"></p>
<table border="0" width="1000" align="center">
<tr><td colspan="2" height="30"><img src="../images/logo.png"></td></tr>
<tr><td width="170"><%@ include file="../css/menu.jsp"%></td><td width="830">
	<table id="stuinfo" width="600" border="1">
	<tr><th width="150" height="20">学 号</th><th width="150" height="20">姓名</th>
		<th width="150" height="20">出生日期</th><th width="150" height="20">操作</th></tr>
		<% while((str = br.readLine())!=null){%>
		<tr><td width="150" height="20" align="center"><%= str.split("\\t")[0]%></td><td width="150" height="20"  align="center"><%= str.split("\\t")[1]%></td>
			<td width="150" height="20"  align="center"><%= str.split("\\t")[2]%></td><td width="150" height="20"  align="center"><a href="updatestu.jsp?stuId=<%= str.split("\\t")[0]%>">修改</a></td></tr>	
		<%
			}
			br.close();
			fr.close();
		%>
	</table>
</td></tr>
</table>

</body>
</html>